// 获取通用请求头，包含login_token_key
export function getAuthHeaders() {
  const user = localStorage.getItem('user')
  let headers = {}
  if (user) {
    const { loginToken } = JSON.parse(user)
    if (loginToken) {
      headers['login_token_key'] = loginToken
    }
  }
  return headers
} 